package com.wuhuahe.learning.lagou.service.user.service;

import com.wuhuahe.learning.lagou.service.user.pojo.RegisterInfo;
import com.wuhuahe.learning.lagou.service.user.pojo.User;

public interface UserService {

    public boolean register(RegisterInfo registerInfo);

    public boolean isRegistered(String email);

    public User getUserByEmailAndPassword(String email, String password);
}
